/*    */ package system.staros.sblock1;
/*    */ 
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ 
/*    */ public class ArrayNode extends Node
/*    */ {
/*    */   private List<Node> elements;
/*    */ 
/*    */   public ArrayNode(SourcePosition paramSourcePosition, List<Node> paramList)
/*    */   {
/* 38 */     super(paramSourcePosition);
/* 39 */     this.elements = paramList;
/*    */   }
/*    */ 
/*    */   public ZemObject eval(Interpreter paramInterpreter)
/*    */   {
/* 44 */     ArrayList localArrayList = new ArrayList(this.elements.size());
/* 45 */     for (Node localNode : this.elements) {
/* 46 */       localArrayList.add(localNode.eval(paramInterpreter));
/*    */     }
/* 48 */     return new ZemArray(localArrayList);
/*    */   }
/*    */ 
/*    */   public String toString()
/*    */   {
/* 53 */     StringBuilder localStringBuilder = new StringBuilder();
/* 54 */     localStringBuilder.append("'(");
/* 55 */     for (Node localNode : this.elements) {
/* 56 */       localStringBuilder.append(localNode);
/* 57 */       localStringBuilder.append(' ');
/*    */     }
/* 59 */     localStringBuilder.append(')');
/* 60 */     return localStringBuilder.toString();
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.sblock1.ArrayNode
 * JD-Core Version:    0.6.1
 */